Conditions | 1 |
Paths | 1 |
Total Lines | 28 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | /** |
||
34 | $( function ( $ ) { |
||
35 | |||
36 | $( '.mw-lingo-term' ).each( function ( index ) { |
||
|
|||
37 | |||
38 | var termId = $(this).attr( 'data-lingo-term-id'); |
||
39 | |||
40 | var tooltip = $( '#' + termId ); |
||
41 | |||
42 | $( this ).qtip( { |
||
43 | content : tooltip.html(), |
||
44 | position: { |
||
45 | my: 'top left', // Position tooltip's top left... |
||
46 | at: 'bottom left' // at the bottom left of target |
||
47 | }, |
||
48 | hide : { |
||
49 | fixed: true, |
||
50 | delay: 300 |
||
51 | }, |
||
52 | style : { |
||
53 | classes: tooltip.attr( 'class' ) + ' qtip-shadow', |
||
54 | def : false |
||
55 | } |
||
56 | |||
57 | } ); |
||
58 | |||
59 | } ); |
||
60 | |||
61 | } ); |
||
62 | }( jQuery ) ); |
||
63 |
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.